<!-- XHTML 1.0 Strict -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<meta name="author" content="Rachid Touzani" />
<meta name="keywords" content=" css, dropdowns, dropdown menu, drop-down, menu, navigation, nav, horizontal, vertical left-to-right, vertical right-to-left, horizontal linear, horizontal upwards, cross browser, internet explorer, ie, firefox, safari, opera, browser, lwis" />
<meta name="description" content="Clean, standards-friendly, modular framework for dropdown menus" />
<link href="../css/dropdown.vertical.css" media="screen" rel="stylesheet" type="text/css" />
<link href="../css/default.ultimate.css" media="screen" rel="stylesheet" type="text/css" />
<head>
<!-- Title -->
<title>OFELI - Documentation</title>
<!-- Stylesheet -->
<link rel="stylesheet" type="text/css" href="../doxygen.css" />
<link rel="stylesheet" type="text/css" href="../tabs.css" />
</head>
<body>
<p align="center">
  <img src="../im/ofeli.gif" alt="OFELI's Logo" width="300" height="90">
</p>
<p align="center"><font color="#203F5B" size="4" face="verdana,Helvetica">
<b>An Object Oriented Finite Element Library</b></font></p>
<!-- Complete Page-->
<div id="main">
<div id="mainmenu">
 <div class="text">
<!-- Menu -->
 <div class="tabs">
  <ul class="tablist">
   <li><a href="../index.html"><span>Home</span></a>
    <li><a href="../overview.html"><span>Overview</span></a>
    <li><a href="../extlib.html"><span>External Libraries</span></a>
    <li><a href="../citing.html"><span>Citing OFELI</span></a>
    <li><a href="../fformats.html"><span>File Formats</span></a>
    <li><a href="../demos.html"><span>Demo Codes</span></a>
  </ul>
 </div>
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classOFELI_1_1TimeStepping.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classOFELI_1_1TimeStepping-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">TimeStepping Class Reference<div class="ingroups"><a class="el" href="group__OFELI.html">OFELI</a><a class="el" href="group__OFELI.html">OFELI</a> &raquo;  &#124; <a class="el" href="group__Solver.html">Solver</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>To solve time stepping problems, i.e. systems of linear ordinary differential equations of the form [A2]{y"} + [A1]{y'} + [A0]{y} = {b}.  
 <a href="classOFELI_1_1TimeStepping.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8538d4e23d3050073bd6cfc946a9b4e3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8538d4e23d3050073bd6cfc946a9b4e3"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a8538d4e23d3050073bd6cfc946a9b4e3">TimeStepping</a> ()</td></tr>
<tr class="memdesc:a8538d4e23d3050073bd6cfc946a9b4e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor. <br /></td></tr>
<tr class="separator:a8538d4e23d3050073bd6cfc946a9b4e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a335d4d37e68b7dc2cc5ae456bcb9eaf6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a335d4d37e68b7dc2cc5ae456bcb9eaf6">TimeStepping</a> (<a class="el" href="group__OFELI.html#ga672626c8ddef10da0244c15db4085f40">TimeScheme</a> s, <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> time_step=<a class="el" href="group__Global.html#gafe343e984bb2022a960c0285c90ba97d">theTimeStep</a>, <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> final_time=<a class="el" href="group__Global.html#ga3fb590e5375a439474a2799323b4572b">theFinalTime</a>)</td></tr>
<tr class="memdesc:a335d4d37e68b7dc2cc5ae456bcb9eaf6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor using time discretization data.  <a href="#a335d4d37e68b7dc2cc5ae456bcb9eaf6">More...</a><br /></td></tr>
<tr class="separator:a335d4d37e68b7dc2cc5ae456bcb9eaf6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a153397546fc84bd8fbb0bb428225dec6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a153397546fc84bd8fbb0bb428225dec6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a153397546fc84bd8fbb0bb428225dec6">~TimeStepping</a> ()</td></tr>
<tr class="memdesc:a153397546fc84bd8fbb0bb428225dec6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor. <br /></td></tr>
<tr class="separator:a153397546fc84bd8fbb0bb428225dec6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a584a3841c197ddb1ec0494389823d561"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a584a3841c197ddb1ec0494389823d561">set</a> (<a class="el" href="group__OFELI.html#ga672626c8ddef10da0244c15db4085f40">TimeScheme</a> s, <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> time_step=<a class="el" href="group__Global.html#gafe343e984bb2022a960c0285c90ba97d">theTimeStep</a>, <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> final_time=<a class="el" href="group__Global.html#ga3fb590e5375a439474a2799323b4572b">theFinalTime</a>)</td></tr>
<tr class="memdesc:a584a3841c197ddb1ec0494389823d561"><td class="mdescLeft">&#160;</td><td class="mdescRight">Define data of the differential equation or system.  <a href="#a584a3841c197ddb1ec0494389823d561">More...</a><br /></td></tr>
<tr class="separator:a584a3841c197ddb1ec0494389823d561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae57f4d9db61b62a0b973ee0a543d4ae6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#ae57f4d9db61b62a0b973ee0a543d4ae6">setLinearSolver</a> (<a class="el" href="classOFELI_1_1LinearSolver.html">LinearSolver</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;ls)</td></tr>
<tr class="memdesc:ae57f4d9db61b62a0b973ee0a543d4ae6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set reference to <a class="el" href="classOFELI_1_1LinearSolver.html" title="Class to solve systems of linear equations by iterative methods. ">LinearSolver</a> instance.  <a href="#ae57f4d9db61b62a0b973ee0a543d4ae6">More...</a><br /></td></tr>
<tr class="separator:ae57f4d9db61b62a0b973ee0a543d4ae6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84a0a64105a619ae4ee1158f6ac8492e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a84a0a64105a619ae4ee1158f6ac8492e">setPDE</a> (<a class="el" href="classOFELI_1_1AbsEqua.html">AbsEqua</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;eq, bool nl=false)</td></tr>
<tr class="memdesc:a84a0a64105a619ae4ee1158f6ac8492e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Define partial differential equation to solve.  <a href="#a84a0a64105a619ae4ee1158f6ac8492e">More...</a><br /></td></tr>
<tr class="separator:a84a0a64105a619ae4ee1158f6ac8492e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7e53c44ddd0bfff4147278d5c15f3a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#aa7e53c44ddd0bfff4147278d5c15f3a3">setRK4RHS</a> (<a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;f)</td></tr>
<tr class="memdesc:aa7e53c44ddd0bfff4147278d5c15f3a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set intermediate right-hand side vector for the Runge-Kutta method.  <a href="#aa7e53c44ddd0bfff4147278d5c15f3a3">More...</a><br /></td></tr>
<tr class="separator:aa7e53c44ddd0bfff4147278d5c15f3a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b036e819127321d9d992f5433e4369a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a1b036e819127321d9d992f5433e4369a">setRK3_TVDRHS</a> (<a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;f)</td></tr>
<tr class="memdesc:a1b036e819127321d9d992f5433e4369a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set intermediate right-hand side vector for the TVD Runge-Kutta 3 method.  <a href="#a1b036e819127321d9d992f5433e4369a">More...</a><br /></td></tr>
<tr class="separator:a1b036e819127321d9d992f5433e4369a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1cd58fec176472be29a4dfb1be829e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#af1cd58fec176472be29a4dfb1be829e3">setInitial</a> (<a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;u)</td></tr>
<tr class="memdesc:af1cd58fec176472be29a4dfb1be829e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set initial condition for the system of differential equations.  <a href="#af1cd58fec176472be29a4dfb1be829e3">More...</a><br /></td></tr>
<tr class="separator:af1cd58fec176472be29a4dfb1be829e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7c3734ad9c03eadfe2287c18de39945"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#ac7c3734ad9c03eadfe2287c18de39945">setInitial</a> (<a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;u, <a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;v)</td></tr>
<tr class="memdesc:ac7c3734ad9c03eadfe2287c18de39945"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set initial condition for a system of differential equations.  <a href="#ac7c3734ad9c03eadfe2287c18de39945">More...</a><br /></td></tr>
<tr class="separator:ac7c3734ad9c03eadfe2287c18de39945"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b86e899eb64ac7c5d3716f3d20c2bb2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a9b86e899eb64ac7c5d3716f3d20c2bb2">setInitialRHS</a> (<a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;f)</td></tr>
<tr class="memdesc:a9b86e899eb64ac7c5d3716f3d20c2bb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set initial RHS for a system of differential equations when the used scheme requires it.  <a href="#a9b86e899eb64ac7c5d3716f3d20c2bb2">More...</a><br /></td></tr>
<tr class="separator:a9b86e899eb64ac7c5d3716f3d20c2bb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dcc6c83ae5f9c7a958e9ba081f8eeb6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4dcc6c83ae5f9c7a958e9ba081f8eeb6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a4dcc6c83ae5f9c7a958e9ba081f8eeb6">setRHS</a> (<a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;<a class="el" href="group__OFELI.html#gaf5cd2eaaceda19772fd904539819158c">b</a>)</td></tr>
<tr class="memdesc:a4dcc6c83ae5f9c7a958e9ba081f8eeb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set right-hand side vector. <br /></td></tr>
<tr class="separator:a4dcc6c83ae5f9c7a958e9ba081f8eeb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac71c03356896fe7ff3355c8bfdbca881"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac71c03356896fe7ff3355c8bfdbca881"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#ac71c03356896fe7ff3355c8bfdbca881">setBC</a> (<a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;u)</td></tr>
<tr class="memdesc:ac71c03356896fe7ff3355c8bfdbca881"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set vector containing boundary condition to enforce. <br /></td></tr>
<tr class="separator:ac71c03356896fe7ff3355c8bfdbca881"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0af28f955ff37f212996f60348fd0385"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a0af28f955ff37f212996f60348fd0385">setNewmarkParameters</a> (<a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> beta, <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> gamma)</td></tr>
<tr class="memdesc:a0af28f955ff37f212996f60348fd0385"><td class="mdescLeft">&#160;</td><td class="mdescRight">Define parameters for the Newmark scheme.  <a href="#a0af28f955ff37f212996f60348fd0385">More...</a><br /></td></tr>
<tr class="separator:a0af28f955ff37f212996f60348fd0385"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0b215af0339c42514f036bf711ffffd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#ad0b215af0339c42514f036bf711ffffd">setConstantMatrix</a> ()</td></tr>
<tr class="memdesc:ad0b215af0339c42514f036bf711ffffd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Say that matrix problem is constant.  <a href="#ad0b215af0339c42514f036bf711ffffd">More...</a><br /></td></tr>
<tr class="separator:ad0b215af0339c42514f036bf711ffffd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0f5cc02d42fd6d2c81ef09d85671670"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#ad0f5cc02d42fd6d2c81ef09d85671670">setNonConstantMatrix</a> ()</td></tr>
<tr class="memdesc:ad0f5cc02d42fd6d2c81ef09d85671670"><td class="mdescLeft">&#160;</td><td class="mdescRight">Say that matrix problem is variable.  <a href="#ad0f5cc02d42fd6d2c81ef09d85671670">More...</a><br /></td></tr>
<tr class="separator:ad0f5cc02d42fd6d2c81ef09d85671670"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03025e97482684280a54df4817908825"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a03025e97482684280a54df4817908825">setLinearSolver</a> (<a class="el" href="group__OFELI.html#gad0624a8576d3ca1d4af97479546930ea">Iteration</a> s=<a class="el" href="group__OFELI.html#ggad0624a8576d3ca1d4af97479546930eaa8b17dcef7858d58588a474eac2a062b6">DIRECT_SOLVER</a>, <a class="el" href="group__OFELI.html#gadac1c2aa74e98e485c02f73279b71a38">Preconditioner</a> p=<a class="el" href="group__OFELI.html#ggadac1c2aa74e98e485c02f73279b71a38a4268260ca0a19ecd998e62462ccde34e">DIAG_PREC</a>)</td></tr>
<tr class="memdesc:a03025e97482684280a54df4817908825"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set linear solver data.  <a href="#a03025e97482684280a54df4817908825">More...</a><br /></td></tr>
<tr class="separator:a03025e97482684280a54df4817908825"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac813a41f1f5c3d248cba17a2bf55159a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#ac813a41f1f5c3d248cba17a2bf55159a">setNLTerm0</a> (<a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;a0, <a class="el" href="classOFELI_1_1Matrix.html">Matrix</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;A0)</td></tr>
<tr class="memdesc:ac813a41f1f5c3d248cba17a2bf55159a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set vectors defining a nonlinear first order system of ODEs.  <a href="#ac813a41f1f5c3d248cba17a2bf55159a">More...</a><br /></td></tr>
<tr class="separator:ac813a41f1f5c3d248cba17a2bf55159a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa50a030ed9900fbe29d9f3632ad960e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#afa50a030ed9900fbe29d9f3632ad960e">setNLTerm</a> (<a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;a0, <a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;a1, <a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;a2)</td></tr>
<tr class="memdesc:afa50a030ed9900fbe29d9f3632ad960e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set vectors defining a nonlinear second order system of ODEs.  <a href="#afa50a030ed9900fbe29d9f3632ad960e">More...</a><br /></td></tr>
<tr class="separator:afa50a030ed9900fbe29d9f3632ad960e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0dff7ac814d61fe684767c7d33b1c1a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#ab0dff7ac814d61fe684767c7d33b1c1a">setVerbose</a> (int v=0)</td></tr>
<tr class="memdesc:ab0dff7ac814d61fe684767c7d33b1c1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set verbosity parameter:  <a href="#ab0dff7ac814d61fe684767c7d33b1c1a">More...</a><br /></td></tr>
<tr class="separator:ab0dff7ac814d61fe684767c7d33b1c1a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8c8f582bd6836d2145e823ce5ed5ef4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#af8c8f582bd6836d2145e823ce5ed5ef4">runOneTimeStep</a> ()</td></tr>
<tr class="memdesc:af8c8f582bd6836d2145e823ce5ed5ef4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run one time step.  <a href="#af8c8f582bd6836d2145e823ce5ed5ef4">More...</a><br /></td></tr>
<tr class="separator:af8c8f582bd6836d2145e823ce5ed5ef4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab174fb4127d2dfb1b5e0d57b9e40b617"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#ab174fb4127d2dfb1b5e0d57b9e40b617">run</a> (bool opt=false)</td></tr>
<tr class="memdesc:ab174fb4127d2dfb1b5e0d57b9e40b617"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the time stepping procedure.  <a href="#ab174fb4127d2dfb1b5e0d57b9e40b617">More...</a><br /></td></tr>
<tr class="separator:ab174fb4127d2dfb1b5e0d57b9e40b617"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab858796571d89a61c76ee2083477dbd7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#ab858796571d89a61c76ee2083477dbd7">Assembly</a> (const <a class="el" href="classOFELI_1_1Element.html">Element</a> &amp;el, <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *<a class="el" href="group__OFELI.html#gaf5cd2eaaceda19772fd904539819158c">b</a>, <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *A0, <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *A1, <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *A2=nullptr)</td></tr>
<tr class="memdesc:ab858796571d89a61c76ee2083477dbd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assemble element arrays into global matrix and right-hand side.  <a href="#ab858796571d89a61c76ee2083477dbd7">More...</a><br /></td></tr>
<tr class="separator:ab858796571d89a61c76ee2083477dbd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a109a9cc4bff9dfa026d796527fd050d0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a109a9cc4bff9dfa026d796527fd050d0">SAssembly</a> (const <a class="el" href="classOFELI_1_1Side.html">Side</a> &amp;sd, <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *<a class="el" href="group__OFELI.html#gaf5cd2eaaceda19772fd904539819158c">b</a>, <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *<a class="el" href="group__OFELI.html#ga8d83ae0344b0fbb3265762cd97e1b1db">A</a>=nullptr)</td></tr>
<tr class="memdesc:a109a9cc4bff9dfa026d796527fd050d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assemble side arrays into global matrix and right-hand side.  <a href="#a109a9cc4bff9dfa026d796527fd050d0">More...</a><br /></td></tr>
<tr class="separator:a109a9cc4bff9dfa026d796527fd050d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a799a12990da0e52bb134bf40ee4159e2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a799a12990da0e52bb134bf40ee4159e2"></a>
<a class="el" href="classOFELI_1_1LinearSolver.html">LinearSolver</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOFELI_1_1TimeStepping.html#a799a12990da0e52bb134bf40ee4159e2">getLSolver</a> ()</td></tr>
<tr class="memdesc:a799a12990da0e52bb134bf40ee4159e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return <a class="el" href="classOFELI_1_1LinearSolver.html" title="Class to solve systems of linear equations by iterative methods. ">LinearSolver</a> instance. <br /></td></tr>
<tr class="separator:a799a12990da0e52bb134bf40ee4159e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>To solve time stepping problems, i.e. systems of linear ordinary differential equations of the form [A2]{y"} + [A1]{y'} + [A0]{y} = {b}. </p>
<dl class="section author"><dt>Author</dt><dd>Rachid Touzani </dd></dl>
<dl class="section copyright"><dt>Copyright</dt><dd>GNU Lesser Public License</dd></dl>
<p>Features: </p><ul>
<li>
The system may be first or second order (first and/or second order time derivatives </li>
<li>
The following time integration schemes can be used: <ul>
<li>
For first order systems: The following schemes are implemented Forward Euler (value: <em>FORWARD_EULER</em>)<br />
 Backward Euler (value: <em>BACKWARD_EULER</em>)<br />
 Crank-Nicolson (value: <em>CRANK_NICOLSON</em>)<br />
 Heun (value: <em>HEUN</em>)<br />
 2nd Order Adams-Bashforth (value: <em>AB2</em>)<br />
 4-th order Runge-Kutta (value: <em>RK4</em>)<br />
 2nd order Backward Differentiation Formula (value: <em>BDF2</em>) </li>
<li>
For second order systems: The following schemes are implemented Newmark (value: <em>NEWMARK</em>) </li>
</ul>
</li>
</ul>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a335d4d37e68b7dc2cc5ae456bcb9eaf6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOFELI_1_1TimeStepping.html">TimeStepping</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__OFELI.html#ga672626c8ddef10da0244c15db4085f40">TimeScheme</a>&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a>&#160;</td>
          <td class="paramname"><em>time_step</em> = <code><a class="el" href="group__Global.html#gafe343e984bb2022a960c0285c90ba97d">theTimeStep</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a>&#160;</td>
          <td class="paramname"><em>final_time</em> = <code><a class="el" href="group__Global.html#ga3fb590e5375a439474a2799323b4572b">theFinalTime</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor using time discretization data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">s</td><td>Choice of the scheme: To be chosen in the enumerated variable <em>TimeScheme</em> (see the presentation of the class) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">time_step</td><td>Value of the time step. This value will be modified if an adaptive method is used. The default value for this parameter if the value given by the global variable <code>theTimeStep</code> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">final_time</td><td>Value of the final time (time starts at 0). The default value for this parameter is the value given by the global variable <code>theFinalTime</code> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a584a3841c197ddb1ec0494389823d561"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__OFELI.html#ga672626c8ddef10da0244c15db4085f40">TimeScheme</a>&#160;</td>
          <td class="paramname"><em>s</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a>&#160;</td>
          <td class="paramname"><em>time_step</em> = <code><a class="el" href="group__Global.html#gafe343e984bb2022a960c0285c90ba97d">theTimeStep</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a>&#160;</td>
          <td class="paramname"><em>final_time</em> = <code><a class="el" href="group__Global.html#ga3fb590e5375a439474a2799323b4572b">theFinalTime</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Define data of the differential equation or system. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">s</td><td>Choice of the scheme: To be chosen in the enumerated variable <em>TimeScheme</em> (see the presentation of the class) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">time_step</td><td>Value of the time step. This value will be modified if an adaptive method is used. The default value for this parameter if the value given by the global variable <code>theTimeStep</code> </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">final_time</td><td>Value of the final time (time starts at 0). The default value for this parameter is the value given by the global variable <code>theFinalTime</code> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ae57f4d9db61b62a0b973ee0a543d4ae6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setLinearSolver </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1LinearSolver.html">LinearSolver</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>ls</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set reference to <a class="el" href="classOFELI_1_1LinearSolver.html" title="Class to solve systems of linear equations by iterative methods. ">LinearSolver</a> instance. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ls</td><td>Reference to <a class="el" href="classOFELI_1_1LinearSolver.html" title="Class to solve systems of linear equations by iterative methods. ">LinearSolver</a> instance </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a84a0a64105a619ae4ee1158f6ac8492e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setPDE </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1AbsEqua.html">AbsEqua</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>eq</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>nl</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Define partial differential equation to solve. </p>
<p>The used equation class must have been constructed using the <a class="el" href="classOFELI_1_1Mesh.html" title="To store and manipulate finite element meshes. ">Mesh</a> instance </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">eq</td><td>Reference to equation instance </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">nl</td><td>Toggle to say if the considered equation is linear [Default: <code>0</code>] or not </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa7e53c44ddd0bfff4147278d5c15f3a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setRK4RHS </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set intermediate right-hand side vector for the Runge-Kutta method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>Vector containing the RHS </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1b036e819127321d9d992f5433e4369a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setRK3_TVDRHS </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set intermediate right-hand side vector for the TVD Runge-Kutta 3 method. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>Vector containing the RHS </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af1cd58fec176472be29a4dfb1be829e3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setInitial </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>u</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set initial condition for the system of differential equations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">u</td><td>Vector containing initial condition for the unknown </td></tr>
  </table>
  </dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>If a second-order differential equation is to be solved, use the the same function with two initial vectors (one for the unknown, the second for its time derivative) </dd></dl>

</div>
</div>
<a class="anchor" id="ac7c3734ad9c03eadfe2287c18de39945"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setInitial </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>u</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>v</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set initial condition for a system of differential equations. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">u</td><td>Vector containing initial condition for the unknown </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">v</td><td>Vector containing initial condition for the time derivative of the unknown </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This function can be used to provide solution at previous time step if a restarting procedure is used. </dd>
<dd>
This member function is to be used only in the case of a second order system </dd></dl>

</div>
</div>
<a class="anchor" id="a9b86e899eb64ac7c5d3716f3d20c2bb2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setInitialRHS </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>f</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set initial RHS for a system of differential equations when the used scheme requires it. </p>
<p>Giving the right-hand side at initial time is somtimes required for high order methods like Runge-Kutta </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">f</td><td>Vector containing right-hand side at initial time. This vector is helpful for high order methods </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This function can be used to provide solution at previous time step if a restarting procedure is used. </dd></dl>

</div>
</div>
<a class="anchor" id="a0af28f955ff37f212996f60348fd0385"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setNewmarkParameters </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a>&#160;</td>
          <td class="paramname"><em>beta</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a>&#160;</td>
          <td class="paramname"><em>gamma</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Define parameters for the Newmark scheme. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">beta</td><td>Parameter beta [Default: <code>0.25</code>] </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">gamma</td><td>Parameter gamma [Default: <code>0.5</code>] </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad0b215af0339c42514f036bf711ffffd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setConstantMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Say that matrix problem is constant. </p>
<p>This is useful if the linear system is solved by a factorization method but has no effect otherwise </p>

</div>
</div>
<a class="anchor" id="ad0f5cc02d42fd6d2c81ef09d85671670"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setNonConstantMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Say that matrix problem is variable. </p>
<p>This is useful if the linear system is solved by a factorization method but has no effect otherwise </p>

</div>
</div>
<a class="anchor" id="a03025e97482684280a54df4817908825"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setLinearSolver </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__OFELI.html#gad0624a8576d3ca1d4af97479546930ea">Iteration</a>&#160;</td>
          <td class="paramname"><em>s</em> = <code><a class="el" href="group__OFELI.html#ggad0624a8576d3ca1d4af97479546930eaa8b17dcef7858d58588a474eac2a062b6">DIRECT_SOLVER</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__OFELI.html#gadac1c2aa74e98e485c02f73279b71a38">Preconditioner</a>&#160;</td>
          <td class="paramname"><em>p</em> = <code><a class="el" href="group__OFELI.html#ggadac1c2aa74e98e485c02f73279b71a38a4268260ca0a19ecd998e62462ccde34e">DIAG_PREC</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set linear solver data. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">s</td><td>Solver identification parameter. To be chosen in the enumeration variable Iteration:<br />
 DIRECT_SOLVER, CG_SOLVER, CGS_SOLVER, BICG_SOLVER, BICG_STAB_SOLVER, GMRES_SOLVER, QMR_SOLVER [Default: <code>DIRECT_SOLVER</code>] </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">p</td><td>Preconditioner identification parameter. To be chosen in the enumeration variable Preconditioner:<br />
IDENT_PREC, DIAG_PREC, ILU_PREC [Default: <code>DIAG_PREC</code>] </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>The argument <em>p</em> has no effect if the solver is DIRECT_SOLVER </dd></dl>

</div>
</div>
<a class="anchor" id="ac813a41f1f5c3d248cba17a2bf55159a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setNLTerm0 </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>a0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Matrix.html">Matrix</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>A0</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set vectors defining a nonlinear first order system of ODEs. </p>
<p>The ODE system has the form a1(u)' + a0(u) = 0 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">a0</td><td>Reference to <a class="el" href="classOFELI_1_1Vect.html" title="To handle general purpose vectors. ">Vect</a> instance defining the 0-th order term </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">A0</td><td>Reference to <a class="el" href="classOFELI_1_1Matrix.html" title="Virtual class to handle matrices for all storage formats. ">Matrix</a> instance </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="afa50a030ed9900fbe29d9f3632ad960e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setNLTerm </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>a0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>a1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classOFELI_1_1Vect.html">Vect</a>&lt; <a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>a2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set vectors defining a nonlinear second order system of ODEs. </p>
<p>The ODE system has the form a2(u)'' + a1(u)' + a0(u) = 0 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">a0</td><td>Reference to <a class="el" href="classOFELI_1_1Vect.html" title="To handle general purpose vectors. ">Vect</a> instance defining the 0-th order term </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">a1</td><td>Reference to <a class="el" href="classOFELI_1_1Vect.html" title="To handle general purpose vectors. ">Vect</a> instance defining the first order term </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">a2</td><td>Reference to <a class="el" href="classOFELI_1_1Vect.html" title="To handle general purpose vectors. ">Vect</a> instance defining the second order term </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab0dff7ac814d61fe684767c7d33b1c1a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setVerbose </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>v</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set verbosity parameter: </p>
<ul>
<li>
= 0, No output </li>
<li>
= 1, Print step label and time value </li>
<li>
= 2, Print step label, time value, time step and integration scheme </li>
</ul>

</div>
</div>
<a class="anchor" id="af8c8f582bd6836d2145e823ce5ed5ef4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> runOneTimeStep </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run one time step. </p>
<dl class="section return"><dt>Returns</dt><dd>Value of new time step if this one is updated </dd></dl>

</div>
</div>
<a class="anchor" id="ab174fb4127d2dfb1b5e0d57b9e40b617"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void run </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>opt</em> = <code>false</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run the time stepping procedure. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">opt</td><td>Flag to say if problem matrix is constant while time stepping (true) or not (Default value is false) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Note</dt><dd>This argument is not used if the time stepping scheme is explicit </dd></dl>

</div>
</div>
<a class="anchor" id="ab858796571d89a61c76ee2083477dbd7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Assembly </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classOFELI_1_1Element.html">Element</a> &amp;&#160;</td>
          <td class="paramname"><em>el</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *&#160;</td>
          <td class="paramname"><em>A0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *&#160;</td>
          <td class="paramname"><em>A1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *&#160;</td>
          <td class="paramname"><em>A2</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assemble element arrays into global matrix and right-hand side. </p>
<p>This member function is to be called from finite element equation classes </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">el</td><td>Reference to <a class="el" href="classOFELI_1_1Element.html" title="To store and treat finite element geometric information. ">Element</a> class </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>Pointer to element right-hand side </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">A0</td><td>Pointer to matrix of 0-th order term (involving no time derivative) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">A1</td><td>Pointer to matrix of first order term (involving time first derivative) </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">A2</td><td>Pointer to matrix of second order term (involving time second derivative) [Default: <code>nullptr</code>] </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a109a9cc4bff9dfa026d796527fd050d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SAssembly </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classOFELI_1_1Side.html">Side</a> &amp;&#160;</td>
          <td class="paramname"><em>sd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__Util.html#gaccfeb6b1e8cf41731fde610549bee67c">real_t</a> *&#160;</td>
          <td class="paramname"><em>A</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assemble side arrays into global matrix and right-hand side. </p>
<p>This member function is to be called from finite element equation classes </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">sd</td><td>Reference to <a class="el" href="classOFELI_1_1Side.html" title="To store and treat finite element sides (edges in 2-D or faces in 3-D) ">Side</a> class </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">b</td><td>Pointer to side right-hand side </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">A</td><td>Pointer to matrix [Default: <code>nullptr</code>] </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->

</div> <!-- class text -->
</div> <!-- main menu -->
<!-- Google Search -->
<br><br>
<center>
  <div id="cse" style="width: 80%;">Loading</div>
  <script src="http://www.google.com/jsapi" type="text/javascript"></script>
  <script type="text/javascript"> 
     google.load('search', '1', {language : 'en', style : google.loader.themes.SHINY});
     google.setOnLoadCallback(function() {
        var customSearchOptions = {};  var customSearchControl = new google.search.CustomSearchControl(
        '012396140824982761142:-qrywxcfi_o', customSearchOptions);
        customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
        customSearchControl.draw('cse');
     }, true);
   </script>
   <style type="text/css">
     .gsc-control-cse {
     font-family: Verdana, sans-serif;
     border-color: #DAE0E5;
     background-color: #DAE0E5;
   }
   .gsc-control-cse .gsc-table-result { font-family: Verdana, sans-serif; }
   input.gsc-input { border-color: #B6BEC5; }
   input.gsc-search-button {
     border-color: #B6BEC5;
     background-color: #D0D1D4;
   }
   .gsc-tabHeader.gsc-tabhInactive {
     border-color: #999999;
     background-color: #EEEEEE;
   }
   .gsc-tabHeader.gsc-tabhActive {
     border-color: #999999;
     background-color: #999999;
   }
   .gsc-tabsArea { border-color: #999999; }
   .gsc-webResult.gsc-result,
   .gsc-results .gsc-imageResult {
     border-color: #FFFFFF;
     background-color: #FFFFFF;
   }
   .gsc-webResult.gsc-result:hover,
   .gsc-imageResult:hover {
     border-color: #D2D6DC;
     background-color: #EDEDED;
   }
   .gsc-webResult.gsc-result.gsc-promotion:hover {
     border-color: #D2D6DC;
     background-color: #EDEDED;
   }
   .gs-webResult.gs-result a.gs-title:link,
   .gs-webResult.gs-result a.gs-title:link b,
   .gs-imageResult a.gs-title:link,
   .gs-imageResult a.gs-title:link b { color: #0568CD; }
   .gs-webResult.gs-result a.gs-title:visited,
   .gs-webResult.gs-result a.gs-title:visited b,
   .gs-imageResult a.gs-title:visited,
   .gs-imageResult a.gs-title:visited b { color: #0568CD; }
   .gs-webResult.gs-result a.gs-title:hover,
   .gs-webResult.gs-result a.gs-title:hover b,
   .gs-imageResult a.gs-title:hover,
   .gs-imageResult a.gs-title:hover b { color: #0568CD; }
   .gs-webResult.gs-result a.gs-title:active,
   .gs-webResult.gs-result a.gs-title:active b,
   .gs-imageResult a.gs-title:active,
   .gs-imageResult a.gs-title:active b { color: #0568CD; }
   .gsc-cursor-page { color: #0568CD; }
   a.gsc-trailing-more-results:link { color: #0568CD; }
   .gs-webResult .gs-snippet,
   .gs-imageResult .gs-snippet,
   .gs-fileFormatType { color: #5F6A73; }
   .gs-webResult div.gs-visibleUrl,
   .gs-imageResult div.gs-visibleUrl { color: #5F6A73; }
   .gs-webResult div.gs-visibleUrl-short { color: #5F6A73; }
   .gs-webResult div.gs-visibleUrl-short { display: none; }
   .gs-webResult div.gs-visibleUrl-long { display: block; }
   .gs-promotion div.gs-visibleUrl-short { display: none; }
   .gs-promotion div.gs-visibleUrl-long { display: block; }
   .gsc-cursor-box { border-color: #FFFFFF; }
   .gsc-results .gsc-cursor-box .gsc-cursor-page {
      border-color: #999999;
      background-color: #FFFFFF;
      color: #0568CD;
   }
   .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
      border-color: #999999;
      background-color: #999999;
      color: #0568CD;
   }
   .gsc-webResult.gsc-result.gsc-promotion {
      border-color: #D2D6DC;
      background-color: #D0D1D4;
   }
   .gsc-completion-title { color: #0568CD; }
   .gsc-completion-snippet { color: #5F6A73; }
   .gs-promotion a.gs-title:link,
   .gs-promotion a.gs-title:link *,
   .gs-promotion .gs-snippet a:link { color: #0066CC; }
   .gs-promotion a.gs-title:visited,
   .gs-promotion a.gs-title:visited *,
   .gs-promotion .gs-snippet a:visited { color: #0066CC; }
   .gs-promotion a.gs-title:hover,
   .gs-promotion a.gs-title:hover *,
   .gs-promotion .gs-snippet a:hover { color: #0066CC; }
   .gs-promotion a.gs-title:active,
   .gs-promotion a.gs-title:active *,
   .gs-promotion .gs-snippet a:active { color: #0066CC; }
   .gs-promotion .gs-snippet,
   .gs-promotion .gs-title .gs-promotion-title-right,
   .gs-promotion .gs-title .gs-promotion-title-right *  { color: #333333; }
   .gs-promotion .gs-visibleUrl,
   .gs-promotion .gs-visibleUrl-short { color: #5F6A73; }
   </style>
</center>
<!-- End of Google Search Box -->
<br><br><br></p>
<div id="foot_bar">
  Copyright &copy; 1998-2019 Rachid Touzani&nbsp;
</div>
</div> <!-- main -->
</body>
</HTML>
